package com.zqq.baselibrary.injection.module

import android.app.Activity
import android.content.Context
import com.zqq.baselibrary.common.BaseApplication
import com.zqq.baselibrary.injection.ActivityScope
import com.zqq.baselibrary.ui.activity.BaseMvpActivity
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
 * Activity级别Module
 * @author zqq on 2018/7/26
 */
@Module
class ActivityModule(private val activity: Activity) {

    @ActivityScope
    @Provides
    fun provideActivity(): Activity {
        return this.activity
    }

}